package hu.rsc.forbiddenwords.shared;

import javax.jdo.annotations.PersistenceCapable;

@PersistenceCapable
public class LanguageDTO extends BaseDTO {

    private String name;

    private String code;

    public LanguageDTO() {
    }

    public LanguageDTO(Long id) {
	super(id);
    }

    public LanguageDTO(Long id, String name, String code) {
	super(id);
	this.name = name;
	this.code = code;
    }

    public String getCode() {
	return this.code;
    }

    public String getName() {
	return this.name;
    }

    public void setCode(String code) {
	this.code = code;
    }

    public void setName(String name) {
	this.name = name;
    }

}